package com.lmb.todo.pojo;

public class Folder {

    private Integer id;

    private Integer userId;

    private String fname;

    private String descr;

    private String createTime;

    private String updateTime;

    public Folder() {}

    public Folder(Integer userId, String fname, String descr, String createTime, String updateTime) {
        this.userId = userId;
        this.fname = fname;
        this.descr = descr;
        this.createTime = createTime;
        this.updateTime = updateTime;
    }

    public Folder(Integer id, Integer userId, String fname, String descr, String createTime, String updateTime) {
        this.id = id;
        this.userId = userId;
        this.fname = fname;
        this.descr = descr;
        this.createTime = createTime;
        this.updateTime = updateTime;
    }

    public Integer getId() {
        return id;
    }

    public Integer getUserId() {
        return userId;
    }

    public String getFname() {
        return fname;
    }

    public String getDescr() {
        return descr;
    }

    public String getCreateTime() {
        return createTime;
    }

    public String getUpdateTime() {
        return updateTime;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public void setFname(String fname) {
        this.fname = fname;
    }

    public void setDescr(String descr) {
        this.descr = descr;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public void setUpdateTime(String updateTime) {
        this.updateTime = updateTime;
    }

    @Override
    public String toString() {
        return "Folder{" +
                "id=" + id +
                ", userId=" + userId +
                ", fname='" + fname + '\'' +
                ", descr='" + descr + '\'' +
                ", createTime='" + createTime + '\'' +
                ", updateTime='" + updateTime + '\'' +
                '}';
    }
}
